<template>
    <div @click="goHome">login</div>
</template>
<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const goHome = () => {
    router.push('/home')
}
</script>